//
//  UIView+TaoJExtension.h
//  百思不得姐2
//
//  Created by 陶建 on 15/7/22.
//  Copyright (c) 2015年 taoJ. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (TExtension)

#pragma mark - frame位置
/** x */
@property (nonatomic, assign) CGFloat x;
/** y */
@property (nonatomic, assign) CGFloat y;
/** origin */
@property (nonatomic, assign) CGPoint origin;

#pragma mark - frame大小
/** width */
@property (nonatomic, assign) CGFloat width;
/** height */
@property (nonatomic, assign) CGFloat height;
/** size */
@property (nonatomic, assign) CGSize size;

#pragma mark - bounds大小
/** boundsWidth */
@property (nonatomic, assign) CGFloat boundsWidth;
/** boundsHeight */
@property (nonatomic, assign) CGFloat boundsHeight;
/** boundsSize */
@property (nonatomic, assign) CGSize boundsSize;

#pragma mark - 显示在主窗口
- (BOOL)isShowingOnKeyWindow;
@end
